package com.paranoidvulture.javaEngine.Utilities;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.event.KeyListener;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;

/* This is the control Interface
 * Holds all the methods for a basic control
 * If you need to create a list of controls or a control handler, use this as the 
 *  passing Object instead of a specific control type in order to  encompass all of the 
 *  controls.
 */

public interface IControl extends MouseListener, MouseMotionListener, KeyListener {
		
	public float getPosX();
	public float getPosY();
	public int getWidth();
	public int getHeight();
	public void setPosX(float x);
	public void setPosY(float y);
	public void setWidth(int width);
	public void setHeight(int height);
	public String getName();
	public void setName(String name);
	public Image getPicture();
	public void setImage(String image);
	public void setActive(boolean active);
	public boolean getActive();
	
	//used to initialize the control
	public void init();
	
	//used to update the control
	public void update(long timePassed);
	
	//used to draw the control
	public void draw(Graphics2D g);
}

